<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>align-content: space-between</title>
</head>
<style>

.flex-container {
	display: -webkit-flex;
	display: flex;
	flex-direction: row;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-align-content: space-between;
	align-content: space-between;
	width: 300px;
	height: 700px;
	background-color: lightgrey;
}

.flex-item {
	background-color: cornflowerblue;
	width: 100px;
	height: 100px;
	margin: 10px;
}
</style>
<body>

align-content 属性用于修改 flex-wrap 属性的行为。类似于 align-items, 但它不是设置弹性子元素的对齐，而是设置各个行的对齐。<br>
	stretch 	- 默认。各行将会伸展以占用剩余的空间。<br>
	flex-start 	- 各行向弹性盒容器的起始位置堆叠。<br>
	flex-end 	- 各行向弹性盒容器的结束位置堆叠。<br>
	center 		- 各行向弹性盒容器的中间位置堆叠。<br>
	space-between 	- 各行在弹性盒容器中平均分布。<br>
	space-around 	- 各行在弹性盒容器中平均分布，两端保留子元素与子元素之间间距大小的一半。<br><br>

<div class="flex-container">
	<div class="flex-item">flex item 1</div>
	<div class="flex-item">flex item 2</div>
	<div class="flex-item">flex item 3</div>
	
	<div class="flex-item">flex item 4</div>
	<div class="flex-item">flex item 5</div>
	<div class="flex-item">flex item 6</div>
	<div class="flex-item">flex item 7</div>
</div>

</body>
</html>
